package com.weiyuwqj.api.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "sys_app_settings")
public class SysAppSettings implements Serializable{
    @Id
    private Integer id;

    @Column(name = "user_id")
    private Integer userId;

    /**
     * 是否开启短信通知(1.开启 0.不开启)
     */
    @Column(name = "whether_sms")
    private Integer whetherSms;

    /**
     * 是否开启站内信(1.开启 0.不开启)
     */
    @Column(name = "whether_site_mail")
    private Integer whetherSiteMail;

    /**
     * 是否开启app推送(1.开启 0.不开启)
     */
    @Column(name = "whether_app_push")
    private Integer whetherAppPush;

    /**
     * 是否开启手势密码(1.开启 0.不开启)
     */
    @Column(name = "whether_pattern_lock")
    private Integer whetherPatternLock;

    /**
     * 是否开启TouchID指纹密码(1.开启 0.不开启)
     */
    @Column(name = "whether_touch_id_lock")
    private Integer whetherTouchIdLock;


    /**
     * 是否开启账号保护(1.开启 0.不开启)
     */
    private Integer whetherAccountProtect;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return user_id
     */
    public Integer getUserId() {
        return userId;
    }

    public Integer getWhetherAccountProtect() {
        return whetherAccountProtect;
    }

    public void setWhetherAccountProtect(Integer whetherAccountProtect) {
        this.whetherAccountProtect = whetherAccountProtect;
    }

    /**
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取是否开启短信通知(1.开启 0.不开启)
     *
     * @return whether_sms - 是否开启短信通知(1.开启 0.不开启)
     */
    public Integer getWhetherSms() {
        return whetherSms;
    }

    /**
     * 设置是否开启短信通知(1.开启 0.不开启)
     *
     * @param whetherSms 是否开启短信通知(1.开启 0.不开启)
     */
    public void setWhetherSms(Integer whetherSms) {
        this.whetherSms = whetherSms;
    }

    /**
     * 获取是否开启站内信(1.开启 0.不开启)
     *
     * @return wheteher_site_mail - 是否开启站内信(1.开启 0.不开启)
     */
    public Integer getWhetherSiteMail() {
        return whetherSiteMail;
    }

    /**
     * 设置是否开启站内信(1.开启 0.不开启)
     *
     * @param whetherSiteMail 是否开启站内信(1.开启 0.不开启)
     */
    public void setWhetherSiteMail(Integer whetherSiteMail) {
        this.whetherSiteMail = whetherSiteMail;
    }

    /**
     * 获取是否开启app推送(1.开启 0.不开启)
     *
     * @return whether_app_push - 是否开启app推送(1.开启 0.不开启)
     */
    public Integer getWhetherAppPush() {
        return whetherAppPush;
    }

    /**
     * 设置是否开启app推送(1.开启 0.不开启)
     *
     * @param whetherAppPush 是否开启app推送(1.开启 0.不开启)
     */
    public void setWhetherAppPush(Integer whetherAppPush) {
        this.whetherAppPush = whetherAppPush;
    }

    /**
     * 获取是否开启手势密码(1.开启 0.不开启)
     *
     * @return whether_pattern_lock - 是否开启手势密码(1.开启 0.不开启)
     */
    public Integer getWhetherPatternLock() {
        return whetherPatternLock;
    }

    /**
     * 设置是否开启手势密码(1.开启 0.不开启)
     *
     * @param whetherPatternLock 是否开启手势密码(1.开启 0.不开启)
     */
    public void setWhetherPatternLock(Integer whetherPatternLock) {
        this.whetherPatternLock = whetherPatternLock;
    }

    /**
     * 获取是否开启TouchID指纹密码(1.开启 0.不开启)
     *
     * @return whether_touch_id_lock - 是否开启TouchID指纹密码(1.开启 0.不开启)
     */
    public Integer getWhetherTouchIdLock() {
        return whetherTouchIdLock;
    }

    /**
     * 设置是否开启TouchID指纹密码(1.开启 0.不开启)
     *
     * @param whetherTouchIdLock 是否开启TouchID指纹密码(1.开启 0.不开启)
     */
    public void setWhetherTouchIdLock(Integer whetherTouchIdLock) {
        this.whetherTouchIdLock = whetherTouchIdLock;
    }

}